// 导入,连接数据库
const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const linkSchema = new Schema({// 友链信息表规则
  name:String,
  home:String,
  logo:String,
  describe:String,
});

// 导出
module.exports = mongoose.model("link",linkSchema);
